mq_connection:mq_connection.cc ../mqcomm/mq_msg.pb.cc ../mqcomm/mq_proto.pb.cc
	g++ -o $@ $^ -g -std=c++11 -I../mqdemo/muduo/include -lgtest -lprotobuf -lsqlite3
mq_channeltest:mq_channeltest.cc ../mqcomm/mq_msg.pb.cc ../mqcomm/mq_proto.pb.cc
	g++ -o $@ $^ -g -std=c++11 -I../mqdemo/muduo/include -lgtest -lprotobuf -lsqlite3
mq_consumertest:mq_consumertest.cc ../mqcomm/mq_msg.pb.cc
	g++ -o $@ $^ -g -std=c++11 -lgtest -lprotobuf -lsqlite3
mq_routetest:mq_routetest.cc ../mqcomm/mq_msg.pb.cc
	g++ -o $@ $^ -g -std=c++11 -lgtest -lprotobuf -lsqlite3
mq_hosttest:mq_hosttest.cc ../mqcomm/mq_msg.pb.cc
	g++ -o $@ $^ -g -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_msgtest:mq_msgtest.cc ../mqcomm/mq_msg.pb.cc
	g++ -o $@ $^ -g -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_bindingtest:mq_bindingtest.cc
	g++ -o $@ $^ -g -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_queuetest:mq_queuetest.cc
	g++ -o $@ $^ -g -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_exchangetest:mq_exchangetest.cc
	g++ -o $@ $^ -g -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_filetest:mq_filetest.cc
	g++ -o $@ $^ -std=c++11
.PHONY:clean
clean:
	rm -rf mq_filetest mq_exchangetest mq_queuetest mq_bindingtest mq_msgtest mq_hosttest mq_routetest mq_consumertest mq_channeltest mq_connection

